﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Snake.Model;

namespace Snake.Vue
{
    public partial class Perdu : Form
    {
        private MainVue form1;
        public Perdu(snake snake)
        {
            InitializeComponent();
            form1 = new MainVue();
            form1.count = snake.Score;
            this.label2.Text = "Ton score final : " + (snake.Score);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
            
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }
    }
}
